package ipebg.mzk.facade.entity;

import ipebg.mzk.facade.entity.pk.MsFunctionOptionPK;
import ipebg.mzk.facade.entity.pk.MsFunctionRoleOptionPK;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import javax.persistence.Transient;


@Entity
@IdClass(MsFunctionOptionPK.class)
@Table(name="MS_FUCNTION_OPTION")
public class MsFunctionOption implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="OPTIONID")
	private String optionId;
	
	@Id
	@Column(name="FUNCTIONID")
	private String functionId;
	
	@Column(name="OPTIONDESC")
	private String optionDsc;
	
	@Transient
	private String isSelect;
	
	@Transient
	private String functionName;

	public String getOptionId() {
		return optionId;
	}

	public void setOptionId(String optionId) {
		this.optionId = optionId;
	}

	public String getFunctionId() {
		return functionId;
	}

	public void setFunctionId(String functionId) {
		this.functionId = functionId;
	}

	public String getOptionDsc() {
		return optionDsc;
	}

	public void setOptionDsc(String optionDsc) {
		this.optionDsc = optionDsc;
	}

	public String getIsSelect() {
		return isSelect;
	}

	public void setIsSelect(String isSelect) {
		this.isSelect = isSelect;
	}

	public String getFunctionName() {
		return functionName;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	
	
}
